Yet Another Implementation of Attribute Evaluation

نویسندگان

  • Éric Badouel
  • Rodrigue Tchougong
  • Bernard Fotsing
چکیده

We introduce another item in the already large list of techniques for attribute evaluation. Our algorithm consists in computing an attributes by reduction to normal form using a transducer operating on tree encodings of a cyclic representation of zippers. A zipper is a data structure introduced by Gérard Huet for representing a subtree together with its context, i.e. it is a tree with a focus that points to some node inside it. We mention some potential applications of this representation of attribute grammars as zipper transformers. Key-words: Attribute Grammars, Attribute Evaluation, Cyclic Data Structures, Zipper ∗ [email protected][email protected][email protected] Une nouvelle implémentation de l’évaluation des attributs Résumé : Nous introduisons une nouvelle technique pour l’évaluation des attributs d’une grammaire attribuée. Notre algorithme consiste à évaluer un attribut par réduction à une forme normale en utilisant un automate d’arbres opérant sur une représentation arborescente des zippers donnés sous la forme d’une structure de donnée cyclique. Un zipper est une structure de donnée, introduite par Gérard Huet, consistant à représenter un arbre avec son contexte, c’est-à-dire un arbre avec un point focal pointant sur un de ses sous-arbres. Nous mentionnons quelques applications potentielles de cette représentation des grammaires attribuées comme transformations de zippers. Mots-clés : Grammaires attribuées, Evaluation des attributs, Structures de données cycliques, Zipper Yet Another Implementation of Attribute Evaluation 3

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Yet Another Attribute Evaluator based on Recursive Functions

In this paper we present an approach to attribute evaluation based on recursive neighbour functions , which is different from what has been reported in the literature. The approach is valid for simple multi-visit attribute grammars. Neighbour functions, comprising of visit and suspend functions , allow attribute evaluation to start at the node of subtree replacement, and the approach can readil...

متن کامل

Comparison and evaluation of three methods of multi attribute decision making methods in choosing the best plant species for environmental management (Case study: Chah Jam Erg)

Today, environmental crisis and loss of natural resources are the principle causes of the creation of environmental management systems. The optimal management of natural resources requires the assessment and classification of ecological and environmental potentials. Using this method, the abilities and restrictions of resources can be recognized, and their future trends can be predicted. Nebka ...

متن کامل

Introducing a New Approach for Prioritizing Combating Desertification Strategies Based on Multi- Attribute Decision Making

Addressing desertification, due to its multi-criteria nature, increasing development, extensive and long-term impacts on natural resources and human populations, is necessary to achieve sustainable development. Therefore, for optimal utilization of facilities and limited funds allocated to this issue, evaluation of current strategies, based on different criteria is essential to avoid wasting na...

متن کامل

Incremental Attribute Evaluation of LR - attributedgrammars Using Space - E cient Data

Incremental attribute evaluation of one-pass attribute grammars (AGs) has not yet been fully investigated. However, considering the lightness of one-pass AGs, combining incremental evaluation and parsing in one-pass AGs may bring about a time-and space-eecient language processor. In this paper, an incremental attribute evaluation method based on LR-attributed grammar, a class of one-pass attrib...

متن کامل

WHERE IS HERE, WHAT AM I?DESIGNING, IMPLEMENTATION AND EVALUATION OF AN INTRODUCTION TO CLINICAL CLERKSHIP COURSE FOR MEDICAL STUDENTS*

Introduction: Clinical education environment is unfamiliar to students, comparing to previous learning environments. It seems that designing a program to match actual needs of students for adopting to this new environment may lead to more cooperation of them and improve educational outcomes: Method: Learning needs for such a course were assessed according to viewpoints of both medical studen...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2007